﻿import Rhino.Commons.Facilities
import Rhino.Security
import Rhino.Security.Interfaces from Rhino.Security
import System.Web.Mvc from System.Web.MVC
import System.Collections.Generic
import System
import WineCellar.Business.Entities from WineCellar.Business
import WineCellar.Business.Services
import WineCellar.Business.ServiceInterfaces
import WineCellar.Core.Interfaces from WineCellar.Core


facility RhinoSecurityFacility:
	securityTableStructure = SecurityTableStructure.Prefix
	userType = User
	
Component IRepository, NHRepository
Component IUnitOfWorkFactory, NHibernateUnitOfWorkFactory

Component "user_service", IUserService, UserService
Component "wine_service", IEntityService of Wine, WineService  
Component "region_service", IEntityService of Region, RegionService